package com.hzeng.util;

public class Constants {
	static final String UI = "ui";
	static final String UI_WIDTH = "width";
	static final String UI_HEIGHT = "height";
	static final String UI_MAINPANEL_WIDTH = "mainPanelWidth";
	static final String UI_MAINPANEL_HEIGHT = "mainPanelHeight";
	static final String UI_TABPANEL_WIDTH = "tabPanelWidth";
	static final String UI_TABPANEL_HEIGHT = "tabPanelHeight";
	static final String UI_NAVIGATOR_HEIGHT = "navigatorHeight";
	static final String UI_LIST_WIDTH = "listWidth";
	static final String UI_LIST_HEIGHT = "listHeight";
	static final String UI_CONSOLEPANEL_WIDTH = "consolePanelWidth";
	static final String UI_CONSOLEPANEL_HEIGHT = "consolePanelHeight";
	static final String UI_SOUTHPANEL_WIDTH = "southPanelWidth";
	static final String UI_SOUTHEPANEL_HEIGHT = "southPanelHeight";
	
	static final String SERVER = "server";
	static final String SERVER_INTERVAL = "interval";
	static final String SERVER_IMAGE_WIDTH = "imageWidth";
	static final String SERVER_IMAGE_HEIGHT = "imageHeight";
	
	static final int CHART_CPU = 1;
	static final int CHART_MEMORY = 2;
	static final int CHART_VM = 3;
	static final int CHART_READ = 4;
	static final int CHART_WRITE = 5;
	static final int CHART_TOTAL_MEMORY = 6;
	
	static final int CHART_SYS_CPU = 7;
	static final int CHART_SYS_MEMORY = 8;
	static final int CHART_SYS_VM = 9;
	static final int CHART_SYS_READ = 10;
	static final int CHART_SYS_WRITE = 11;
	static final int CHART_SYS_TOTAL_MEMORY = 12;
	static final int CHART_SYS_IO = 13;
	
	static final long ONE_MINUTE = 60000;
	static final long FIVE_MINUTE = 300000;
	static final long FIFTWEEN_MINUTE = 900000;
	static final long HALF_HOUR = 1800000;
	static final long ONE_HOUR = 3600000;
	static final long TWO_HOUR = 7200000;
	static final long TWELVE_HOUR = 43200000;
	static final long ONE_DAY = 86400000;
	static final long ONE_WEEK = 604800000;
	static final long ONE_MOUTH = 2592000000l;
	static final long HALF_YEAR = 15768000000l;
	static final long ONE_YEAR = 31536000000l;
	
	static final String TYPE_JPG = ".jpg";
	
	static final String _SCHEMA_PREFIX = "#";
	static final String _PID = "Pid";
	static final String _NAME = "Name";
	static final String _BIN = "Bin";
	static final String _CWD = "Cwd";
	
	static final String _CPU = "Cpu";
	static final String _MEMORY = "Memory";
	static final String _VM = "Virtual-Memory";
	static final String _READ = "Read";
	static final String _WRITE = "Write";
	static final String _READBYTES = "ReadBytes";
	static final String _WRITEBYTES = "WriteBytes";
	static final String _TIME = "Time";
	static final String _DIRECTORY = "Directory";

	static final String _TOTAL_MEMORY = "Total-Memory";
	
	static final String _SYS_NAME = "System";
	static final String _SYS_BIN = "SYSTEM";
	static final String _SYS_CWD = "ROOT";
	
	static final String _SYS_CPU = "System Cpu";
	static final String _SYS_MEMORY = "System Memory";
	static final String _SYS_TOTAL_MEMORY = "System Total-Memory";
	static final String _SYS_READ = "System Read";
	static final String _SYS_WRITE = "System Write";
	static final String _SYS_IO = "System IO";
	
	static final long _SYS_PID = 0l;
}
